package com.zeny.express.framework.log.service;

import java.util.List;

import com.zeny.express.framework.log.Person;
import com.zeny.express.framework.log.annotation.LogBusiness;

public interface LoggableService {

	@LogBusiness(businessCode = "abcd")
	void logme();

	@LogBusiness(businessCode = "abcd", entityId = "#id")
	void logme(String id);

	@LogBusiness(businessCode = "abcd", entityId = "#person.id", entityCode = "#person.code", entityName = "#person.name")
	void logme(Person person);

	@LogBusiness(businessCode = "abcd", entityId = "#list.![#this.id]", entityCode = "#list.![#this.code]", entityName = "#list.![#this.name]")
	void logme(List<Person> list);

}
